class_name GameplayAbilityAsset
extends Resource

## 能力名称
@export var name: String

## 能力描述
@export_multiline var description: String

## 激活能力时所施加的效果
@export var granted_effects: Array[GameplayEffectAsset]

## 激活能力所需要拥有的所有标签
@export var tags_all_required: Array[String]

## 激活能力所不能拥有的所有标签，否则会取消能力的激活
@export var tags_cancelled_ability: Array[String]

##
@export_range(1, 100, 1, "or_greater") var max_level: int

#region Need to override
func create_spec(owner: AbilitySystemComponent) -> GameplayAbility:
    return GameplayAbility.new(self, owner)
#endregion
